Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Euler's totient function benchmark #268

Merged
merged 2 commits into from
Aug 31, 2023
Merged

Conversation

obhalerao
Copy link
Contributor

Add a benchmark that computes Euler's totient function on an input n.

Overall a fun little task, though I initially tried to write the code in TypeScript and use ts2bril, but I found the experience so frustrating and the error messages so cryptic that I gave up and just wrote it directly in bril.

@sampsyo
Copy link
Owner

sampsyo commented Aug 30, 2023

So far so good; thanks!! Can you please add an entry to the docs?

@obhalerao
Copy link
Contributor Author

Oops, forgot to push my update to the docs from earlier; should hopefully be okay now?

@sampsyo
Copy link
Owner

sampsyo commented Aug 31, 2023

Excellent; thanks!!

@sampsyo sampsyo merged commit d170c79 into sampsyo:main Aug 31, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants